package com.grass.cropTradingCenter.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName shop_auth
 */
@TableName(value ="shop_auth")
@Data
public class ShopAuth implements Serializable {
    /**
     * 
     */
    @TableId(value = "auth_id", type = IdType.AUTO)
    private Integer authId;

    /**
     * 真实姓名
     */
    @TableField(value = "real_name")
    private String realName;

    /**
     * 身份证号码
     */
    @TableField(value = "id_card")
    private String idCard;

    /**
     * 身份证正面
     */
    @TableField(value = "id_card_front")
    private String idCardFront;

    /**
     * 身份证背面
     */
    @TableField(value = "id_card_back")
    private String idCardBack;

    /**
     * 店家id
     */
    @TableField(value = "shop_user_id")
    private Integer shopUserId;

    /**
     * 手机号
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 0--待审核 1--审核通过  2--审核未通过
     */
    @TableField(value = "check_flag")
    private Integer checkFlag;

    /**
     * 申请时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 审核通过时间
     */
    @TableField(value = "pass_time")
    private Date passTime;

    private  String remark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}